import request from '@/utils/request'

// 查询验证码记录列表
export function listVerify_code_log(query) {
    return request({
        url: '/business/verify_code_log/list',
        method: 'get',
        params: query
    })
}

// 查询验证码记录详细
export function getVerify_code_log(id) {
    return request({
        url: '/business/verify_code_log/' + id,
        method: 'get'
    })
}

// 新增验证码记录
export function addVerify_code_log(data) {
    return request({
        url: '/business/verify_code_log',
        method: 'post',
        data: data
    })
}

// 修改验证码记录
export function updateVerify_code_log(data) {
    return request({
        url: '/business/verify_code_log',
        method: 'put',
        data: data
    })
}

// 删除验证码记录
export function delVerify_code_log(id) {
    return request({
        url: '/business/verify_code_log/' + id,
        method: 'delete'
    })
}

// 导出验证码记录
export function exportVerify_code_log(query) {
    return request({
        url: '/business/verify_code_log/export',
        method: 'get',
        params: query
    })
}
